<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="format-detection" content="telephone=no"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,minimum-scale=1" />
<title>订单详情</title>
<link rel="stylesheet" type="text/css" href="../../css/base.css">
<link rel="stylesheet" type="text/css" href="../../css/nctouch_member.css">
</head>
<body>
<header id="header" class="fixed">
  <div class="header-wrap">
    <div class="header-l"> <a href="javascript:history.go(-1)"> <i class="back"></i> </a> </div>
    <div class="header-title">
      <h1>订单详情</h1>
    </div>
    <div class="header-r"> <a id="header-nav" href="javascript:void(0);"><i class="more"></i><sup></sup></a> </div>
  </div>
  <div class="nctouch-nav-layout">
    <div class="nctouch-nav-menu"> <span class="arrow"></span>
      <ul>
        <li><a href="../../index.html"><i class="home"></i>首页</a></li>
        <li><a href="../search.html"><i class="search"></i>搜索</a></li>
        <li><a href="../product_first_categroy.html"><i class="categroy"></i>分类</a></li>
        <li><a href="javascript:void(0);"><i class="message"></i>消息<sup></sup></a></li>
        <li><a href="../cart_list.html"><i class="cart"></i>购物车<sup></sup></a></li>
        <li><a href="member.html"><i class="member"></i>我的商城</a></li>
      </ul>
    </div>
  </div>
</header>
<div class="nctouch-main-layout mb20">
  <div class="nctouch-order-list" id="order-info-container">
    <ul>
    </ul>
  </div>
</div>
<footer id="footer"></footer>
<script type="text/html" id="order-info-tmpl">
	<div class="nctouch-oredr-detail-block">
		<h3><i class="orders"></i>交易状态</h3>
		<div class="order-state"><%=point_orderstatetext%></div>
		<%if (order_tips != ''){%><div class="info"><%=order_tips%></div><%}%>
	</div>
	<div class="nctouch-oredr-detail-block mt5">
		<div class="nctouch-oredr-detail-add">
			<i class="icon-add"></i>
			<dl>
        		<dt>收货人：<span><%=address['point_truename']%></span><span><%=address['point_mobphone']%></span></dt>
				<dd>收货地址：<%=address['point_areainfo']%></dd>
			</dl>
		</div>
	</div>
	<div class="nctouch-oredr-detail-block">
		<h3><i class="pay"></i>付款方式</h3>
		<div class="info">积分兑换</div>
	</div>
	<div class="nctouch-order-item mt5">
		<div class="nctouch-order-item-head">
			<%if (ownshop){%>
			<a class="store"><i class="icon"></i><%=store_name%></a>
			<%}else{%>
				<a href="<%=WapSiteUrl%>/tmpl/store.html?store_id=<%=store_id%>" class="store"><i class="icon"></i>丰享悦家<i class="arrow-r"></i></a>
			<%}%>
		</div>
		<div class="nctouch-order-item-con">
			<div class="goods-block detail">
				<a href="/wap/tmpl/pd_details.html?goods_id=<%=goods.point_goodsid%>">
				<div class="goods-pic">
					<img src="<%=goods.pgoods_image%>">
				</div>
				<dl class="goods-info">
					<dt class="goods-name"><%=goods.point_goodsname%></dt>
					<dd class="goods-type">积分兑换</dd>
				</dl>
				<div class="goods-subtotal">
					<span class="goods-price">积分<em><%=goods.point_goodspoints%></em></span>
					<span class="goods-num">x<%=goods.point_goodsnum%></span>
				</div>
				<% if (refund == 1) {%>
				<a href="javascript:void(0)" order_id="<%=point_orderid%>" order_goods_id="<%=goods_list[i].rec_id%>" class="goods-refund">退款</a>
				<a href="javascript:void(0)" order_id="<%=point_orderid%>" order_goods_id="<%=goods_list[i].rec_id%>" class="goods-return">退货</a>
				<%}%>
			</a>
			</div>
			<div class="goods-subtotle">
				<dl>
					<dt>运费</dt>
					<dd>￥<em>0</em></dd>
				</dl>
				<dl class="t">
					<dt>实付款（含运费）</dt>
					<dd>积分<em><%=goods.point_goodspoints%></em></dd>
				</dl>
			</div>
		</div>
		<div class="nctouch-order-item-bottom">
			<span><a href="chat_info.html?t_id=<%=store_member_id%>"><i class="im"></i>联系客服</a></span>
			<span><a tel="<%=store_phone%>"><i class="tel"></i>拨打电话</a></span>
		</div>
	</div>
	<div class="nctouch-oredr-detail-block mt5">
		<ul class="order-log">
			<li>订单编号：<%=point_ordersn%></li>
			<li>创建时间：<%=point_addtime%></li>
			<% if(payment_time){%>
			<li>付款时间：<%=point_addtime%></li>
			<%}%>
			<% if(shipping_time){%>
			<li>发货时间：<%=point_shippingtime%></li>
			<%}%>
			<% if(finnshed_time){%>
			<li>完成时间：<%=point_finnshedtime%></li>
			<%}%>
		</ul>
	</div>
	<div class="nctouch-oredr-detail-bottom">
	<% if (if_lock) {%>
	<p>退款/退货中...</p>
	<% } %>
	<% if (point_orderstate==20) {%>
	<a href="javascript:void(0)" order_id="<%=point_orderid%>" class="btn cancel-order">取消订单</a>
	<% } %>
	<% if (point_orderstate==30) { %>
	<a href="javascript:void(0)" order_id="<%=point_orderid%>" class="btn viewdelivery-order">查看物流</a>
	<%}%>
	<% if (point_orderstate==30){ %>
	<a href="javascript:void(0)" order_id="<%=point_orderid%>" class="btn key sure-order">确认收货</a>
	<% } %>
	</div>
</script> 
<script type="text/javascript" src="../../js/zepto.min.js"></script> 
<script type="text/javascript" src="../../js/template.js"></script> 
<script type="text/javascript" src="../../js/config.js"></script> 
<script type="text/javascript" src="../../js/common.js"></script> 
<script type="text/javascript" src="../../js/simple-plugin.js"></script> 
<script type="text/javascript" src="../../js/tmpl/pd_order_detail.js"></script>
</body>
</html>